package lec07.am;

import java.util.ArrayList;
import java.util.Collections;

public class ArrayListDemo {
public static void main(String[] args) {
	ArrayList<Integer> a=new ArrayList<Integer>();
	for(int i=1;i<=33;i++)
		a.add(i);
	System.out.println(a);
	Collections.shuffle(a);
	System.out.println(a.subList(0, 6));
	
}
}
